#pragma once
#include "XStormBase.h"

namespace Xts
{
	namespace IceRuntime
	{
		class XStormPublisher : public XStormBase, public IceUtil::Shared
		{
		public:
			XStormPublisher(const Ice::CommunicatorPtr& pIc, const Ice::LoggerPtr& pLogger);
			~XStormPublisher(void);

			bool RetrievePublishPrx(const ::std::string& topicName, ::Ice::ObjectPrx& publisherPrx);
		};
		typedef IceUtil::Handle<XStormPublisher> XStormPublisherPtr;
	}
}


